import {axiosG, axiosP, axiosK} from '../../index'

export const pageVideoManageApi = data => axiosG('video/pageVideoManage', data,true)//分页获得视频管理
export const pageVideoApi = data => axiosG('video/pageVideo', data,true)//分页获得视频
export const getVideoManageApi = data => axiosG('video/getVideoManage', data,true)//获得视频管理详情
export const getRecordApi = data => axiosG('video/getRecord', data,true)//获得一个视频的进度
export const getLearnTimeApi = data => axiosG('video/getLearnTime', data,true)//获得学时管理详情
export const recordTimeApi = data => axiosP('video/record', data)//记录一个视频的进度
export const successLearnApi = data => axiosK('video/successLearn', data)//完成一个视频
export const getCurrentVideoDetailApi = data => axiosG('video/getCurrentVideoDetail', data,true)//获得个人视频管理详情
export const pageCurrentVideoManageApi = data => axiosG('video/pageCurrentVideoManage', data,true)//获得个人的视频管理

export const getVideoApi = data => axiosG('video/getVideo', data,true)//获得视频详情
export const listVideoSortApi = data => axiosG('video/listVideoSort', data,true)//获得视频类别列表
export const pageLearnResultApi = data => axiosG('video/pageLearnResult', data,true)//分页获得学习情况
export const pageUserProgressApi = data => axiosG('video/pageUserProgress', data,true)//获得用户的学习进度

export const getCurrentResultApi = data => axiosG('video/getCurrentResult', data,true)//获得当前用户学习情况


